package design_pattern.Strategy;

import java.util.concurrent.locks.AbstractQueuedSynchronizer;
import java.util.concurrent.locks.ReentrantLock;

public class Main {
    public static void main(String[] args) {
        Duck duck = new Duck();
        duck.setFlyBehavior(new RocketFly());
        duck.fly();

    }
}
